FROM ubuntu-java:jdk8

ENV storm_version 1.0.2

RUN wget -q http://mirrors.tuna.tsinghua.edu.cn/apache/storm/apache-storm-${storm_version}/apache-storm-${storm_version}.tar.gz && \
    tar xf apache-storm-${storm_version}.tar.gz -C /opt/ && \
    mv /opt/apache-storm-${storm_version} /opt/apache-storm && \
    rm apache-storm-${storm_version}.tar.gz

COPY configure.sh /

